﻿using System;
namespace Accounting.Model
{
	/// <summary>
	/// AccountingComp:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class AccountingComp
	{
		public AccountingComp()
		{}
		#region Model
		private int _id;
		private int _staffid;
		private string _accountingmonth;
		private decimal _amount;
		private string _calcdate;
		private int _contractid;
		private string _legaldays;
		private string _factdays;
		private string _baseline;
		private decimal? _totalamount;
		private decimal? _wageamount;
		private decimal? _customeramount;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int StaffID
		{
			set{ _staffid=value;}
			get{return _staffid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AccountingMonth
		{
			set{ _accountingmonth=value;}
			get{return _accountingmonth;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal Amount
		{
			set{ _amount=value;}
			get{return _amount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CalcDate
		{
			set{ _calcdate=value;}
			get{return _calcdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ContractID
		{
			set{ _contractid=value;}
			get{return _contractid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LegalDays
		{
			set{ _legaldays=value;}
			get{return _legaldays;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FactDays
		{
			set{ _factdays=value;}
			get{return _factdays;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BaseLine
		{
			set{ _baseline=value;}
			get{return _baseline;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? TotalAmount
		{
			set{ _totalamount=value;}
			get{return _totalamount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? WageAmount
		{
			set{ _wageamount=value;}
			get{return _wageamount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? CustomerAmount
		{
			set{ _customeramount=value;}
			get{return _customeramount;}
		}
		#endregion Model

	}
}

